package xinyou.jh.net
{
	import events.BaseEvent;
	
	import xinyou.net.SocketConnection;
	import xinyou.net.event.PacketEvent;
	import xinyou.net.receiver.BaseReceiver;
	
	public class JHReceiver extends BaseReceiver
	{
		public function JHReceiver(socket:SocketConnection)
		{
			super(socket);
		}
		override protected function onReceived(event:PacketEvent):void
		{
			super.onReceived(event);
		}
		protected function dispatchEvent(event:BaseEvent):void
		{
			SocketManager.getInstance().dispatchEvent(event);
		}
	}
}